<?php
$_css = '<link href="css/user_cp.css" rel="stylesheet" type="text/css" />';
$_title = 'User Control Panel';
include('./includes/header.php');
?>
<script type="text/javascript" language="javascript">
    function showCP(id){

        $('#cp_content').html($("#"+id).html());
    }
    $(document).ready(function(){

    });

</script>
<div id="cp_container">
    <p id="cp_title" align="center">User Control Panel</p>
    <table width="100%" cellpadding="0" cellspacing="0">
        <tr>
            <th id="cp_leftContainer" valign="top" style="padding-right:1em">
                <p class="cp_options" onclick="showCP('cp_upload')">Upload Files</p>
                <p class="cp_options" onclick="showCP('cp_editFile')">Edit Files</p>
                <p class="cp_options" onclick="showCP('cp_editProf')">Edit Profile</p>
                <p class="cp_options" onclick="showCP('cp_manaUser')">Manage User(Admin Only)</p>
                <p class="cp_options" onclick="showCP('cp_manaFile')">Manage Files(Admin Only)</p>
                <p class="cp_options" onclick="showCP('cp_viewComp')">View Complains(Admin Only)</p>
            </th>
            <th id="cp_content" valign="top" style="padding-left:1em">
                <p style="width:100%; text-align:center;">Welcome to Control Panel Home</p>
            </th>
        </tr>
    </table>
    <div id="cp_upload" style="display:none;">
        <h2>Upload Your file.</h2>
        <form accept="">
            <input name="" type="file" />
        </form>
    </div>
    <div id="cp_editFile" style="display:none;">
        <h2>Edit Profile</h2>
    </div>

    <div id="cp_editProf" style="display:none;">
        <h2>Edit files</h2>
    </div>

    <div id="cp_manaUser" style="display:none;">
        <h2>Manage User</h2>
    </div>

    <div id="cp_manaFile" style="display:none;">
        <h2>Manage Files</h2>
    </div>

    <div id="cp_viewComp" style="display:none;">
        <h2>View Complains</h2>
    </div>

</div>
<br />
<? include('./includes/footer.php') ?>